package com.job.Gai_Yian.Homework0711;

import javax.swing.plaf.nimbus.AbstractRegionPainter;

/**
 * @author Gai_Yian
 * @version 1.0
 * @since 2022-07-12 13:09:17
 */
public abstract class Food {
    String name;
    String color;

    public void eat(){
        System.out.println("吃掉，提供能量！");
    }

    public abstract void taste();
    public abstract void smell();
}
